import axios from 'axios'
// 字典列表
export const reqDictList = (data)=>
axios({
  url:'/api/crm/dict/condition',
  method:'get',
  params:data
});
// 添加字典
export const reqAddDict = (data)=>
axios({
  url:'/api/crm/dict/insert',
  method:'post',
  data:data
});
// 删除字典
export const deleteDict = (data)=>
axios({
  url:'/api/crm/dict/delete',
  method:'delete',
  data:data
});
// 修改字典
export const updateDict  = (data)=>
axios({
  url:'/api/crm/dict/update',
  method:'put',
  data:data
});